/**
 * 
 */
package kr.co.insoft.driver.rackspace.model;

import kr.co.insoft.driver.model.HardwareProfileModel;

import org.jclouds.compute.domain.Hardware;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author IN-SOFT Inc. GoodwillDD(sylee@in-soft.co.kr)
 * 
 */
public class RackSpaceHardwareModel extends HardwareProfileModel {

	private static final Logger logger = LoggerFactory
			.getLogger(RackSpaceHardwareModel.class);
	/**
	 * 
	 */
	private static final long serialVersionUID = -6009466318516360238L;

	String name;
	int ram;

	public RackSpaceHardwareModel() {

	}

	/**
	 * @param hardware
	 */
	public RackSpaceHardwareModel(Hardware hardware) {
		if (logger.isDebugEnabled())
			logger.debug("rackspace hardware : {}", hardware);

		setId(hardware.getProviderId());
		setName(hardware.getName());
	}

}
